package com.hnu.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Bookmark entity. @author MyEclipse Persistence Tools
 */

public class Bookmark implements java.io.Serializable {

	// Fields

	private Long bookmarkId;
	private String bookmarkTitle;
	private String bookmarkDesc;
	private String bookmarkUrl;
	private Long enterTime;
	private Set bookmarksimilaritiesForBookmarkId2 = new HashSet(0);
	private Set bookmarksimilaritiesForBookmarkId1 = new HashSet(0);
	private Set userbookmarks = new HashSet(0);
	private Set bookmarkpreferences = new HashSet(0);

	// Constructors

	/** default constructor */
	public Bookmark() {
	}

	/** full constructor */
	public Bookmark(String bookmarkTitle, String bookmarkDesc,
			String bookmarkUrl, Long enterTime,
			Set bookmarksimilaritiesForBookmarkId2,
			Set bookmarksimilaritiesForBookmarkId1, Set userbookmarks,
			Set bookmarkpreferences) {
		this.bookmarkTitle = bookmarkTitle;
		this.bookmarkDesc = bookmarkDesc;
		this.bookmarkUrl = bookmarkUrl;
		this.enterTime = enterTime;
		this.bookmarksimilaritiesForBookmarkId2 = bookmarksimilaritiesForBookmarkId2;
		this.bookmarksimilaritiesForBookmarkId1 = bookmarksimilaritiesForBookmarkId1;
		this.userbookmarks = userbookmarks;
		this.bookmarkpreferences = bookmarkpreferences;
	}

	// Property accessors

	public Long getBookmarkId() {
		return this.bookmarkId;
	}

	public void setBookmarkId(Long bookmarkId) {
		this.bookmarkId = bookmarkId;
	}

	public String getBookmarkTitle() {
		return this.bookmarkTitle;
	}

	public void setBookmarkTitle(String bookmarkTitle) {
		this.bookmarkTitle = bookmarkTitle;
	}

	public String getBookmarkDesc() {
		return this.bookmarkDesc;
	}

	public void setBookmarkDesc(String bookmarkDesc) {
		this.bookmarkDesc = bookmarkDesc;
	}

	public String getBookmarkUrl() {
		return this.bookmarkUrl;
	}

	public void setBookmarkUrl(String bookmarkUrl) {
		this.bookmarkUrl = bookmarkUrl;
	}

	public Long getEnterTime() {
		return this.enterTime;
	}

	public void setEnterTime(Long enterTime) {
		this.enterTime = enterTime;
	}

	public Set getBookmarksimilaritiesForBookmarkId2() {
		return this.bookmarksimilaritiesForBookmarkId2;
	}

	public void setBookmarksimilaritiesForBookmarkId2(
			Set bookmarksimilaritiesForBookmarkId2) {
		this.bookmarksimilaritiesForBookmarkId2 = bookmarksimilaritiesForBookmarkId2;
	}

	public Set getBookmarksimilaritiesForBookmarkId1() {
		return this.bookmarksimilaritiesForBookmarkId1;
	}

	public void setBookmarksimilaritiesForBookmarkId1(
			Set bookmarksimilaritiesForBookmarkId1) {
		this.bookmarksimilaritiesForBookmarkId1 = bookmarksimilaritiesForBookmarkId1;
	}

	public Set getUserbookmarks() {
		return this.userbookmarks;
	}

	public void setUserbookmarks(Set userbookmarks) {
		this.userbookmarks = userbookmarks;
	}

	public Set getBookmarkpreferences() {
		return this.bookmarkpreferences;
	}

	public void setBookmarkpreferences(Set bookmarkpreferences) {
		this.bookmarkpreferences = bookmarkpreferences;
	}

}